//
//  TransLaterTableViewCell.h
//  UEAssistant
//
//  Created by mac on 2017/4/14.
//  Copyright © 2017年 youyixinxi. All rights reserved.
//

#import <UIKit/UIKit.h>
@class StarsView;

@protocol RemarksCellDelegate <NSObject>

- (void)remarksCellShowContrntWithDic:(NSDictionary *)dic andCellIndexPath:(NSIndexPath *)indexPath;

@end


@interface TransLaterTableViewCell : UITableViewCell

@property (nonatomic, strong, readonly) UIImageView  *headView;
@property (nonatomic, strong, readonly) UILabel      *name;
@property (nonatomic, strong, readonly) StarsView    *starView;
@property (nonatomic, weak) id<RemarksCellDelegate> delegate;
@property (nonatomic, strong, readonly) UIButton     *moreBtn;   // 展开收起按钮

@property (nonatomic, strong, readonly) UILabel      *translater;
@property (nonatomic, strong, readonly) UIView       *line;
@property (nonatomic, strong, readonly) UILabel      *workType;
@property (nonatomic, strong, readonly) UIImageView  *languageView;
@property (nonatomic, strong, readonly) UILabel      *languageLabel;
@property (nonatomic, strong, readonly) UILabel      *wordCountLabel;

@property (nonatomic, strong, readonly) UILabel                                             *tagLabel;
@property (nonatomic, strong, readonly) UILabel                                             *tagLabeltwo;
@property (nonatomic, strong, readonly) UILabel                                             *tagLabelThr;
@property (nonatomic, strong, readonly) UILabel                                             *tagLabelFour;

@property (nonatomic, strong, readonly) UIView          *baseLine;

@property (nonatomic, assign, readonly) BOOL        selected_trans;

@property (nonatomic, strong, readonly)UIImageView  *seletImage;

/**
 设置级别和传递标识符

 @param level 星级
 @param indexPath 当前cell的标记
 */
- (void)starLevel:(NSInteger)level andCellIndexPath:(NSIndexPath *)indexPath;

-(void)accessData:(id)model;

@end
